class gameScene extends eui.Component implements eui.UIComponent {

    private player: player;
    private gamePad: gamePad;
    public gamePadGrp: eui.Group;
    public playerGrp:eui.Group;


    constructor() {
        super();
        this.skinName = "resource/game_skins/gameSceneSkin.exml";
        this.addEventListener(egret.Event.ADDED_TO_STAGE, this.addToStage, this);
    }
    private addToStage() {
        this.player = new player();
        this.gamePad = new gamePad(this.player, this.gamePadGrp);
        this.playerGrp.addChild(this.player);
        this.gamePadGrp.addChild(this.gamePad);
    }



}